package com.design.patterns.list.observer;

/**
 * @author Wangzhiwen
 */
public class BaiduSite extends WeatherObserver {

    private Weather weather;

    @Override
    public void update(Object object) {
        this.weather = (Weather) object;
    }

    public Weather getWeather() {
        return weather;
    }
}
